3.68 \(\int \frac{c i+d i x}{\sqrt{c+d x} \sqrt{e+f x} \sqrt{g+h x}} \, dx\)

Optimal. Leaf size=137 \[ \frac{2 i \sqrt{c+d x} \sqrt{e h-f g} \sqrt{\frac{f (g+h x)}{f g-e h}} E\left (\sin ^{-1}\left (\frac{\sqrt{h} \sqrt{e+f x}}{\sqrt{e h-f g}}\right )|-\frac{d (f g-e h)}{(d e-c f) h}\right )}{f \sqrt{h} \sqrt{g+h x} \sqrt{-\frac{f (c+d x)}{d e-c f}}} \]

[Out]

(2*Sqrt[-(f*g) + e*h]*i*Sqrt[c + d*x]*Sqrt[(f*(g + h*x))/(f*g - e*h)]*EllipticE[
ArcSin[(Sqrt[h]*Sqrt[e + f*x])/Sqrt[-(f*g) + e*h]], -((d*(f*g - e*h))/((d*e - c*
f)*h))])/(f*Sqrt[h]*Sqrt[-((f*(c + d*x))/(d*e - c*f))]*Sqrt[g + h*x])

_______________________________________________________________________________________

Rubi [A]  time = 0.365451, antiderivative size = 137, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 36, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.083 \[ \frac{2 i \sqrt{c+d x} \sqrt{e h-f g} \sqrt{\frac{f (g+h x)}{f g-e h}} E\left (\sin ^{-1}\left (\frac{\sqrt{h} \sqrt{e+f x}}{\sqrt{e h-f g}}\right )|-\frac{d (f g-e h)}{(d e-c f) h}\right )}{f \sqrt{h} \sqrt{g+h x} \sqrt{-\frac{f (c+d x)}{d e-c f}}} \]

Antiderivative was successfully verified.

[In]  Int[(c*i + d*i*x)/(Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g + h*x]),x]

[Out]

(2*Sqrt[-(f*g) + e*h]*i*Sqrt[c + d*x]*Sqrt[(f*(g + h*x))/(f*g - e*h)]*EllipticE[
ArcSin[(Sqrt[h]*Sqrt[e + f*x])/Sqrt[-(f*g) + e*h]], -((d*(f*g - e*h))/((d*e - c*
f)*h))])/(f*Sqrt[h]*Sqrt[-((f*(c + d*x))/(d*e - c*f))]*Sqrt[g + h*x])

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 55.4137, size = 114, normalized size = 0.83 \[ \frac{2 i \sqrt{\frac{f \left (- g - h x\right )}{e h - f g}} \sqrt{c + d x} \sqrt{e h - f g} E\left (\operatorname{asin}{\left (\frac{\sqrt{h} \sqrt{e + f x}}{\sqrt{e h - f g}} \right )}\middle | \frac{d \left (- e h + f g\right )}{h \left (c f - d e\right )}\right )}{f \sqrt{h} \sqrt{\frac{f \left (c + d x\right )}{c f - d e}} \sqrt{g + h x}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((d*i*x+c*i)/(d*x+c)**(1/2)/(f*x+e)**(1/2)/(h*x+g)**(1/2),x)

[Out]

2*i*sqrt(f*(-g - h*x)/(e*h - f*g))*sqrt(c + d*x)*sqrt(e*h - f*g)*elliptic_e(asin
(sqrt(h)*sqrt(e + f*x)/sqrt(e*h - f*g)), d*(-e*h + f*g)/(h*(c*f - d*e)))/(f*sqrt
(h)*sqrt(f*(c + d*x)/(c*f - d*e))*sqrt(g + h*x))

_______________________________________________________________________________________

Mathematica [C]  time = 0.944092, size = 180, normalized size = 1.31 \[ -\frac{2 i i \sqrt{c+d x} \sqrt{g+h x} \left (E\left (i \sinh ^{-1}\left (\sqrt{\frac{f (c+d x)}{d e-c f}}\right )|\frac{d e h-c f h}{d f g-c f h}\right )-F\left (i \sinh ^{-1}\left (\sqrt{\frac{f (c+d x)}{d e-c f}}\right )|\frac{d e h-c f h}{d f g-c f h}\right )\right )}{h \sqrt{e+f x} \sqrt{\frac{f (c+d x)}{d (e+f x)}} \sqrt{\frac{d (g+h x)}{d g-c h}}} \]

Antiderivative was successfully verified.

[In]  Integrate[(c*i + d*i*x)/(Sqrt[c + d*x]*Sqrt[e + f*x]*Sqrt[g + h*x]),x]

[Out]

((-2*I)*i*Sqrt[c + d*x]*Sqrt[g + h*x]*(EllipticE[I*ArcSinh[Sqrt[(f*(c + d*x))/(d
*e - c*f)]], (d*e*h - c*f*h)/(d*f*g - c*f*h)] - EllipticF[I*ArcSinh[Sqrt[(f*(c +
 d*x))/(d*e - c*f)]], (d*e*h - c*f*h)/(d*f*g - c*f*h)]))/(h*Sqrt[(f*(c + d*x))/(
d*(e + f*x))]*Sqrt[e + f*x]*Sqrt[(d*(g + h*x))/(d*g - c*h)])

_______________________________________________________________________________________

Maple [B]  time = 0.033, size = 552, normalized size = 4. \[ 2\,{\frac{i\sqrt{dx+c}\sqrt{fx+e}\sqrt{hx+g}}{dfh \left ( dfh{x}^{3}+cfh{x}^{2}+deh{x}^{2}+dfg{x}^{2}+cehx+cfgx+degx+ceg \right ) } \left ({\it EllipticF} \left ( \sqrt{{\frac{f \left ( dx+c \right ) }{cf-de}}},\sqrt{{\frac{ \left ( cf-de \right ) h}{f \left ( ch-dg \right ) }}} \right ){c}^{2}fh-{\it EllipticF} \left ( \sqrt{{\frac{f \left ( dx+c \right ) }{cf-de}}},\sqrt{{\frac{ \left ( cf-de \right ) h}{f \left ( ch-dg \right ) }}} \right ) cdeh-{\it EllipticF} \left ( \sqrt{{\frac{f \left ( dx+c \right ) }{cf-de}}},\sqrt{{\frac{ \left ( cf-de \right ) h}{f \left ( ch-dg \right ) }}} \right ) cdfg+{\it EllipticF} \left ( \sqrt{{\frac{f \left ( dx+c \right ) }{cf-de}}},\sqrt{{\frac{ \left ( cf-de \right ) h}{f \left ( ch-dg \right ) }}} \right ){d}^{2}eg-{\it EllipticE} \left ( \sqrt{{\frac{f \left ( dx+c \right ) }{cf-de}}},\sqrt{{\frac{ \left ( cf-de \right ) h}{f \left ( ch-dg \right ) }}} \right ){c}^{2}fh+{\it EllipticE} \left ( \sqrt{{\frac{f \left ( dx+c \right ) }{cf-de}}},\sqrt{{\frac{ \left ( cf-de \right ) h}{f \left ( ch-dg \right ) }}} \right ) cdeh+{\it EllipticE} \left ( \sqrt{{\frac{f \left ( dx+c \right ) }{cf-de}}},\sqrt{{\frac{ \left ( cf-de \right ) h}{f \left ( ch-dg \right ) }}} \right ) cdfg-{\it EllipticE} \left ( \sqrt{{\frac{f \left ( dx+c \right ) }{cf-de}}},\sqrt{{\frac{ \left ( cf-de \right ) h}{f \left ( ch-dg \right ) }}} \right ){d}^{2}eg \right ) \sqrt{-{\frac{d \left ( fx+e \right ) }{cf-de}}}\sqrt{-{\frac{d \left ( hx+g \right ) }{ch-dg}}}\sqrt{{\frac{f \left ( dx+c \right ) }{cf-de}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((d*i*x+c*i)/(d*x+c)^(1/2)/(f*x+e)^(1/2)/(h*x+g)^(1/2),x)

[Out]

2*i*(EllipticF(((d*x+c)*f/(c*f-d*e))^(1/2),((c*f-d*e)*h/f/(c*h-d*g))^(1/2))*c^2*
f*h-EllipticF(((d*x+c)*f/(c*f-d*e))^(1/2),((c*f-d*e)*h/f/(c*h-d*g))^(1/2))*c*d*e
*h-EllipticF(((d*x+c)*f/(c*f-d*e))^(1/2),((c*f-d*e)*h/f/(c*h-d*g))^(1/2))*c*d*f*
g+EllipticF(((d*x+c)*f/(c*f-d*e))^(1/2),((c*f-d*e)*h/f/(c*h-d*g))^(1/2))*d^2*e*g
-EllipticE(((d*x+c)*f/(c*f-d*e))^(1/2),((c*f-d*e)*h/f/(c*h-d*g))^(1/2))*c^2*f*h+
EllipticE(((d*x+c)*f/(c*f-d*e))^(1/2),((c*f-d*e)*h/f/(c*h-d*g))^(1/2))*c*d*e*h+E
llipticE(((d*x+c)*f/(c*f-d*e))^(1/2),((c*f-d*e)*h/f/(c*h-d*g))^(1/2))*c*d*f*g-El
lipticE(((d*x+c)*f/(c*f-d*e))^(1/2),((c*f-d*e)*h/f/(c*h-d*g))^(1/2))*d^2*e*g)/d*
(-(f*x+e)*d/(c*f-d*e))^(1/2)*(-(h*x+g)*d/(c*h-d*g))^(1/2)*((d*x+c)*f/(c*f-d*e))^
(1/2)/h/f*(d*x+c)^(1/2)*(f*x+e)^(1/2)*(h*x+g)^(1/2)/(d*f*h*x^3+c*f*h*x^2+d*e*h*x
^2+d*f*g*x^2+c*e*h*x+c*f*g*x+d*e*g*x+c*e*g)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{d i x + c i}{\sqrt{d x + c} \sqrt{f x + e} \sqrt{h x + g}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((d*i*x + c*i)/(sqrt(d*x + c)*sqrt(f*x + e)*sqrt(h*x + g)),x, algorithm="maxima")

[Out]

integrate((d*i*x + c*i)/(sqrt(d*x + c)*sqrt(f*x + e)*sqrt(h*x + g)), x)

_______________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{d i x + c i}{\sqrt{d x + c} \sqrt{f x + e} \sqrt{h x + g}}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((d*i*x + c*i)/(sqrt(d*x + c)*sqrt(f*x + e)*sqrt(h*x + g)),x, algorithm="fricas")

[Out]

integral((d*i*x + c*i)/(sqrt(d*x + c)*sqrt(f*x + e)*sqrt(h*x + g)), x)

_______________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \[ i \int \frac{\sqrt{c + d x}}{\sqrt{e + f x} \sqrt{g + h x}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((d*i*x+c*i)/(d*x+c)**(1/2)/(f*x+e)**(1/2)/(h*x+g)**(1/2),x)

[Out]

i*Integral(sqrt(c + d*x)/(sqrt(e + f*x)*sqrt(g + h*x)), x)

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{d i x + c i}{\sqrt{d x + c} \sqrt{f x + e} \sqrt{h x + g}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((d*i*x + c*i)/(sqrt(d*x + c)*sqrt(f*x + e)*sqrt(h*x + g)),x, algorithm="giac")

[Out]

integrate((d*i*x + c*i)/(sqrt(d*x + c)*sqrt(f*x + e)*sqrt(h*x + g)), x)